package org.luxor.commons.core.exception;

import org.luxor.commons.core.web.RestStatus;

/**
 * 事务回滚异常
 *
 * @author Mr.Yan  @date: 2020/12/4
 */
public class TransactionException extends BaseException {

    public TransactionException() {
        super(RestStatus.TRANSACTIONAL);
    }

    public TransactionException(String message) {
        super(RestStatus.TRANSACTIONAL, message);
    }
}
